<%--
  Created by IntelliJ IDEA.
  User: ssw
  Date: 2018/6/10
  Time: 23:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>学生成绩管理系统v1.0 --登录界面</title>
  </head>
  <body>
    <form action="login" method="post" name="f1">
        <h2 class="h2">登录</h2>
        <h2 class="h2">Log on</h2>
        <table class="logintable">
            <tr>
                <td><input type="text" name="uid" class="TXT"
                <%--只允许输入数字加字符--%>
                           placeholder="请输入用户名" onkeyup="value=value.replace(/[\W]/g,'') "
                           onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" /></td>
            </tr>
            <tr>
                <td><input type="password" name="upass" class="TXT"
                           placeholder="请输入密码" /></td>
            </tr>
            <tr>
                <td><input name="sub" type="submit" value="登录" id="sub"
                           class="submit" onClick="return kongK()" /></td>
            </tr>
            <tr>
                <td><br /></td>
                <td></td>
            </tr>
        </table>
    </form>
  </body>
</html>
